package ch00.a7;

/**
 * @description: 动物类基类
 * @author: Fesine
 * @createTime:2016/7/12 23:26
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/7/12 23:26
 */
public class Animal {
    protected String name;

    public Animal(String name) {
        this.name = name;
    }
    public Animal() {
        this.name = "无名";
    }

    protected int shoutNum = 3;

    public int getShoutNum() {
        return shoutNum;
    }

    public void setShoutNum(int shoutNum) {
        this.shoutNum = shoutNum;
    }
}
